package com.liming.common.pojo.vo.authinfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author liming
 * @date 2025/1/15
 */
@Data
@Schema(description = "验证码VO")
public class AdminVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "管理员ID")
    private Long id;

    @Schema(description = "管理员名称")
    private String username;

    @Schema(description = "管理员昵称")
    private String nickname;

    @Schema(description = "管理员密码")
    private String password;

    @Schema(description = "管理员手机号")
    private String phone;

    @Schema(description = "账号状态")
    private Integer locked;

    @Schema(description = "管理员对应角色列表")
    private List<RoleVO> roles;
}
